/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const logRouter = {
  path: '/log',
  component: Layout,
  redirect: '/log/sysLogView',
  name: 'LogView',
  meta: {
    title: 'logView',
    icon: 'eye-open'
  },
  children: [
    {
      path: 'sysLogView',
      component: () => import('@/views/log/sysLogView'),
      name: 'SysLogView',
      meta: { title: 'sysLogView' }
    },
    {
      path: 'dbLogView',
      component: () => import('@/views/log/dbLogView'),
      name: 'DbLogView',
      meta: { title: 'dbLogView' }
    },
    {
      path: 'stationLogView',
      component: () => import('@/views/log/stationLogView'),
      name: 'StationLogView',
      meta: { title: 'stationLogView' }
    }
  ]
}

export default logRouter
